menu: Remove vertical/horizontal-offset style properties
authorTimm Bäder <mail@baedert.org>
Tue, 11 Oct 2016 10:07:33 +0000 (12:07 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 17 Oct 2016 22:29:16 +0000 (00:29 +0200)
gtk/gtkmenu.c

index 6b8accc58786fbae729c81d28fb074b97329f891..0a3cab99d7edff64541c7b8771a9daeee6527a48 100644 (file)
@@ -823,24 +823,6 @@ gtk_menu_class_init (GtkMenuClass *class)
                                                       G_PARAM_STATIC_BLURB |
                                                       G_PARAM_EXPLICIT_NOTIFY));
 
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("vertical-offset",
-                                                             P_("Vertical Offset"),
-                                                             P_("When the menu is a submenu, position it this number of pixels offset vertically"),
-                                                             G_MININT,
-                                                             G_MAXINT,
-                                                             0,
-                                                             GTK_PARAM_READABLE));
-
-  gtk_widget_class_install_style_property (widget_class,
-                                           g_param_spec_int ("horizontal-offset",
-                                                             P_("Horizontal Offset"),
-                                                             P_("When the menu is a submenu, position it this number of pixels offset horizontally"),
-                                                             G_MININT,
-                                                             G_MAXINT,
-                                                             -2,
-                                                             GTK_PARAM_READABLE));
-
  gtk_container_class_install_child_property (container_class,
                                              CHILD_PROP_LEFT_ATTACH,
                                               g_param_spec_int ("left-attach",